'Declaration
Public Shared Function ToList( _ ByVal values() As T _ ) As ReadOnlyList(Of T)
'Usage
Dim values() As T Dim value As ReadOnlyList(Of T) value = ReadOnlyList(Of T).ToList(values)
public static ReadOnlyList<T> ToList( T[] values )
public: static ReadOnlyList<T^>^ ToList( array<T^>^ values )
Parameters
- values
- The list of values.
Return Value
The read-only list.